package com.charles.seckillapi.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Charles-H
 * 
 * 收货地址(暂未使用)
 */
public class SysAddr implements Serializable {
    
    private static final long serialVersionUID = 1L;

    /**
     * 地址id
     */
    private Long addr_id;

    /**
     * 客户id
     */
    private Long user_id;

    /**
     * 收货人
     */
    private String receive;

    /**
     * 电话号码
     */
    private String phone;

    /**
     * 省市县
     */
    private String locate;

    /**
     * 详细地址
     */
    private String full_addr;

    /**
     * 创建时间
     */
    private Date create_time;

    public SysAddr() {
    }

    public SysAddr(Long addr_id, Long user_id, String receive, String phone, String locate, String full_addr, Date create_time) {
        this.addr_id = addr_id;
        this.user_id = user_id;
        this.receive = receive;
        this.phone = phone;
        this.locate = locate;
        this.full_addr = full_addr;
        this.create_time = create_time;
    }

    public Long getAddr_id() {
        return addr_id;
    }

    public void setAddr_id(Long addr_id) {
        this.addr_id = addr_id;
    }

    public Long getUser_id() {
        return user_id;
    }

    public void setUser_id(Long user_id) {
        this.user_id = user_id;
    }

    public String getReceive() {
        return receive;
    }

    public void setReceive(String receive) {
        this.receive = receive;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLocate() {
        return locate;
    }

    public void setLocate(String locate) {
        this.locate = locate;
    }

    public String getFull_addr() {
        return full_addr;
    }

    public void setFull_addr(String full_addr) {
        this.full_addr = full_addr;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        return "SysAddr{" +
                "addr_id=" + addr_id +
                ", user_id=" + user_id +
                ", receive='" + receive + '\'' +
                ", phone='" + phone + '\'' +
                ", locate='" + locate + '\'' +
                ", full_addr='" + full_addr + '\'' +
                ", create_time=" + create_time +
                '}';
    }
}
